def work(a:list) :
    c=0
    for i in a :
        if type(i)==int :
            c+=len(str(i))
        else:
            c+=len(str(i).replace('.',''))
    return c
d=[114514,114514.114514]
print(work(d))

